package com.yc.system.service.impl;

import com.yc.system.mapper.SysUserRoleMapper;
import com.yc.system.service.ISysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userRoleService")
public class SysUserRoleServiceImpl implements ISysUserRoleService {

    @Autowired
    private SysUserRoleMapper sysUserRoleMapper;


    @Override
    public void addUserRole(Long userId, Long roleId) {
        sysUserRoleMapper.addUserRole(userId, roleId);
    }
}
